package com.twu.biblioteca.models;

/**
 * Created with IntelliJ IDEA.
 * User: mmoise
 * Date: 21/05/2013
 * Time: 11:39
 * To change this template use File | Settings | File Templates.
 */
public class LoginCredentials extends Object {

    private final String user;
    private final String pass;

    public LoginCredentials(String user, String pass){

        this.user = user;
        this.pass = pass;
    }

    public boolean equals (LoginCredentials other){
        return this.user.equals(other.user) && this.pass.equals(other.pass);
    }
}
